package floatSort;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner reader=new Scanner(System.in);
        float f1=reader.nextFloat();
        float f2=reader.nextFloat();
        float f3=0.f;
        if(f1>f2){
            f3=f1;
            f1=f2;
            f2=f3;

        }
        System.out.println(f1+"-"+f2);

    }
}
